import {QuestionInputDefaultProps, QuestionInputPropsType} from "./interface";
import {Input, Typography} from "antd";

const {Paragraph} = Typography
export const QuestionInput = (props: QuestionInputPropsType) => {
    const {title, placeholder} = {...QuestionInputDefaultProps, ...props}
    return (
        <>
            <Paragraph strong>{title}</Paragraph>
            <div>
                <Input placeholder={placeholder}></Input>
            </div>
        </>
    );
};